var HTMLFormElement = function HTMLFormElement() {
    //如果不能new  要抛出一个错误
    throw new TypeError("Illegal constructor");
}//构造函数
catvm.safefunction(HTMLFormElement); //tostring 保护
//设置原型链上显示的名字***************************************************************************
Object.defineProperties(HTMLFormElement.prototype, {
    [Symbol.toStringTag]: {
        value: "HTMLFormElement",
        configurable: true
    }
});
// 原型指向原型父亲***************************************************************************
HTMLFormElement.prototype.__proto__ = HTMLElement.prototype


//添加div标签
catvm.memory.htmlelements['form'] = function (o) {
    var form = new (function () {
    });
    form.id = o?.id;
    form.class = o?.class;
    form.action = o?.action;
    form.catvm_index = (catvm.domele[catvm.domele.length-1].catvm_index)+1
    form.method = o?.method;
    form["data-translate"] = o['data-translate'] === undefined ? "" : o['data-translate'];
    form.getElementsByTagName = function (e) {
        catvm.debugger_()
        return []
    }
    form.__proto__ = HTMLFormElement.prototype;
    form.style = o?.style
    catvm.domele.push(form)
    return catvm.proxy(form)
}
HTMLFormElement = catvm.proxy(HTMLFormElement)